//
//  LGFollowRecordItemView.h
//  HeartDiseaseManage
//
//  Created by 1234 on 2023/7/17.
//  录音item

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@protocol LGFollowRecordItemDelegate <NSObject>

-(void)playVoiceWithUrl:(NSString *)url  index:(NSInteger)index;

@end

@interface LGFollowRecordItemView : UIView
/**   */
@property (nonatomic , assign)id <LGFollowRecordItemDelegate> delegate;
/**   */
@property (nonatomic , strong)UIButton *playBtn;
/**   */
@property (nonatomic , strong)UIButton *deleteBtn;
/**   */
@property (nonatomic , copy)NSString *audioUrl;
/**   */
@property (nonatomic , copy)NSString *duration;
/**   */
@property (nonatomic , assign)BOOL canDelete;
/**   */
@property (nonatomic , assign)BOOL playing;
/**   */
@property (nonatomic , assign)NSInteger index;

@end

NS_ASSUME_NONNULL_END
